//SECONDARY CUSTOM CODE
//Adding Mandatory Fields
function IMMValidateForm()
{
 try { 
 var sTemp;
 var fieldRequired = Array("CSTM_LIFE_COVERAGE_FLAG_Y","CSTM_DISB_COVERAGE_FLAG_Y");
 var fieldDescription  = Array("Select Life Yes or No","Select Disability Yes or No");
 sTemp= IMMSetAllMandatoryFields(fieldRequired, fieldDescription);
 if (sTemp== true){
    return true;
 }
 else
 {
    return false;
 }
 } catch (err) { 
 app.alert("Your custom code is incorrect in IMMValidateform function, it may be the logic or syntax. Correct the code and re-test the form. \r\n + Error: " + err); 
 }
}